import { CommonProps, SizeEnum } from '../common';

export interface ModalOptions extends CommonProps {
  /**
   * 激活
   */
  active?: boolean;
  /**
   * 基础样式
   */
  basic?: boolean;
  /**
   * 全屏
   */
  fullscreen?: boolean | 'overlay';
  /**
   * 持续时长
   */
  duration?: number;
  /**
   * 尺寸大小
   */
  size?: SizeEnum;
  /**
   * 深色背景
   */
  inverted?: boolean;
}

export type ModalGroupOptions = CommonProps;

export interface ModalHeaderOptions extends CommonProps {
  /**
   * 剧中对齐
   */
  centered?: boolean;
  /**
   * 基础样式
   */
  basic?: boolean;
}

export interface ModalContentOptions extends CommonProps {
  /**
   * 图片
   */
  image?: boolean;
  /**
   * 滚动条
   */
  scrolling?: boolean;
  /**
   * 剧中对齐
   */
  centered?: boolean;
}

export type ModalDescriptionOptions = CommonProps;

export interface ModalActionsOptions extends CommonProps {
  /**
   * 剧中对齐
   */
  centered?: boolean;
  /**
   * 左对齐
   */
  left?: boolean;
  /**
   * 基础样式
   */
  basic?: boolean;
}
